/* 页面公共样式 */
:root {
  --primary-color: #31c27c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
}

.cursor-pointer {
  cursor: pointer;
}

.hidden {
  display: none;
}

.nav-open-noscroll {
  position: absolute;
  height: 100vh;
  overflow: hidden;
}

li a {
  color: black;
  text-decoration: none;
}

/* 头部样式 */
.site-header {
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  background-color: #fff;
}

.site-header .icon-menu-close {
  display: flex;
}

.site-header .header-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.site-header .tabs {
  display: none;
}

/* 头部的隐藏导航栏样式 */
.nav-action-menu {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: calc(100vh - 60px);
  padding: 23px;
  overflow: scroll;
  background: #fff;
}

.nav-action-menu-item {
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-action-menu-content {
  color: #6e6d7a;
  font-size: 18px;
  font-weight: 500;
}

/* 内容区域的样式 */
.content {
  display: grid;
  gap: 15px;
  padding: 15px;
  /* text-align: center; */
  margin-top: 50px;
}

/* 底部样式 */
.footer {
  margin-top: 50px;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .site-header .icon-menu-close {
    display: none;
  }

  .site-header .tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .site-header .tabs .tab {
    margin-right: 10px;
    padding: 6px 10px;
    color: black;
    cursor: pointer;
  }
  
  .site-header .tabs .tab:hover,
  .site-header .tabs .tab a:hover {
    color: var(--primary-color);
  }
}